package com.bkgy.modular.yieldReport.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bkgy.modular.yieldReport.dto.AosrpeDto;
import com.bkgy.modular.yieldReport.dto.TbDsjActWeightDto;
import com.bkgy.modular.yieldReport.entity.ReportForms;
import com.bkgy.sys.common.entity.ResultData;

import javax.servlet.http.HttpServletResponse;

public interface ReportFormsService extends IService<ReportForms> {
    ResultData reportFormsFindByData(TbDsjActWeightDto dto);

    ResultData reportFormsFindDataSXSD(JSONObject jsonObject);


    ResultData findByStatistics(TbDsjActWeightDto dto);

    ResultData findByDailyProduction(TbDsjActWeightDto dto);

    ResultData findByHourlyProduction(TbDsjActWeightDto dto);

    ResultData findAosrpe(AosrpeDto dto);

    ResultData findProductionEfficiencyOfFourShifts(AosrpeDto dto);

    ResultData yieldAnalysis(TbDsjActWeightDto dto);

    void aosrpeExcel(AosrpeDto dto, HttpServletResponse response);

    ResultData findOnDutyProduction(TbDsjActWeightDto dto);

    void reportFormsFindByDataExcel(TbDsjActWeightDto dto, HttpServletResponse response);
}
